package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.BankCardDTO;
import com.financing.platform.dto.WallettWithdrawDTO;
import com.financing.platform.dto.YouDanAmountDTO;
import com.financing.platform.vo.WallettWithdrawVO;

public interface IYouDanAmountDao extends IBaseDao{
	/**
	 * 添加有单金额明细
	 * @param youDanAmountDTO
	 * @return
	 */
	public Integer insertYouDanAmount(YouDanAmountDTO youDanAmountDTO) throws SQLException;
	
	public int updateYouDanAmount(YouDanAmountDTO youDanAmount) throws SQLException;

	public YouDanAmountDTO getYouDanAmount(YouDanAmountDTO youDanAmount) throws SQLException;

	public Integer getYouDanWithdrawListCount(WallettWithdrawVO wallettWithdrawVO) throws SQLException;

	public List<WallettWithdrawDTO> getYouDanWithdrawList(WallettWithdrawVO wallettWithdrawVO) throws SQLException;

	public BankCardDTO queryFaUserBankInfo(WallettWithdrawDTO wallettWithdrawDTO) throws SQLException;

	public List<YouDanAmountDTO> getCommonOrderAmountByAssociationId(String id) throws SQLException;

}
